/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BUSServices;

import DAOServices.NhaXuatBan;
import DAOServices.QLNHSDAOServices_Service;
import DAOServices.TheLoai;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.xml.ws.WebServiceRef;

/**
 *
 * @author USER
 */
@WebService(serviceName = "QLNS_BUS_WebService")
public class QLNS_BUS_WebService {
    @WebServiceRef(wsdlLocation = "WEB-INF/wsdl/localhost_8080/QLNS_DAO_WS/QLNHS_DAO_Services.wsdl")
    public QLNHSDAOServices_Service service;

    /**
     * This is a sample web service operation
     */
  
    @WebMethod(operationName = "layDanhMucTheoLoaiSach")
    public java.util.List<DAOServices.DanhMuc> layDanhMucTheoLoaiSach(int maLoaiSach) {
        DAOServices.QLNHSDAOServices port = service.getQLNHSDAOServicesPort();
        return port.layDanhMucTheoLoaiSach(maLoaiSach);
    }

    @WebMethod(operationName = "layDanhSachLoaiSach")
    public java.util.List<DAOServices.LoaiSach> layDanhSachLoaiSach() {
        DAOServices.QLNHSDAOServices port = service.getQLNHSDAOServicesPort();
        return port.layDanhSachLoaiSach();
    }

    @WebMethod(operationName = "layDanhSachNhaXuatBan")
    public java.util.List<DAOServices.NhaXuatBan> layDanhSachNhaXuatBan() {
        DAOServices.QLNHSDAOServices port = service.getQLNHSDAOServicesPort();
        return port.layDanhSachNhaXuatBan();
    }

    @WebMethod(operationName = "layDanhSachSachMoiNhat")
    public java.util.List<DAOServices.Sach> layDanhSachSachMoiNhat() {
        DAOServices.QLNHSDAOServices port = service.getQLNHSDAOServicesPort();
        return port.layDanhSachSachMoiNhat();
    }

    @WebMethod(operationName = "layDanhSachTheLoai")
    public java.util.List<DAOServices.TheLoai> layDanhSachTheLoai() {
        DAOServices.QLNHSDAOServices port = service.getQLNHSDAOServicesPort();
        return port.layDanhSachTheLoai();
    }

    @WebMethod(operationName = "layThongTinNhaXuatBan")
    public NhaXuatBan layThongTinNhaXuatBan(int maNXB) {
        DAOServices.QLNHSDAOServices port = service.getQLNHSDAOServicesPort();
        return port.layThongTinNhaXuatBan(maNXB);
    }

    @WebMethod(operationName = "layThongTinTheLoai")
    public TheLoai layThongTinTheLoai(int maTheLoai) {
        DAOServices.QLNHSDAOServices port = service.getQLNHSDAOServicesPort();
        return port.layThongTinTheLoai(maTheLoai);
    }
    
    
}
